package com.sun.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * @Project: hospitalDrugInformationManagement
 * @Author: 86178
 * @Date: 2023/3/23 14:14
 * @FileName: DrugSupplier
 * @Description: ""
 */
@Data
public class DrugSupplier extends Model<DrugSupplier> {

    @TableId()
    private Long id;
    private String drugName;
    private Long supplierId;
    private String supplierName;
    private String price;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
